package com.crm.report.domain;

import com.ruoyi.common.utils.DateUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 来访登记统计对象 cust_visit_record
 * 
 * @author ruoyi
 * @date 2024-02-25
 */
public class CustVisitRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 登记id */
    private Long id;

    /** 客户id */
    @Excel(name = "客户id")
    private Long custId;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String custName;

    /** 客户联系电话 */
    @Excel(name = "客户联系电话")
    private String mobile;

    /** 客户经理姓名 */
    @Excel(name = "客户经理姓名")
    private String empName;

    /** 客户经理电话 */
    @Excel(name = "客户经理电话")
    private String empMobile;

    private Long[] deptIds;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustId(Long custId) 
    {
        this.custId = custId;
    }

    public Long getCustId() 
    {
        return custId;
    }
    public void setCustName(String custName) 
    {
        this.custName = custName;
    }

    public String getCustName() 
    {
        return custName;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setEmpName(String empName) 
    {
        this.empName = empName;
    }

    public String getEmpName() 
    {
        return empName;
    }
    public void setEmpMobile(String empMobile) 
    {
        this.empMobile = empMobile;
    }

    public String getEmpMobile() 
    {
        return empMobile;
    }

    public java.lang.String getCreateTimeStr() {
        return DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS,getCreateTime());
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("custId", getCustId())
            .append("custName", getCustName())
            .append("mobile", getMobile())
            .append("empName", getEmpName())
            .append("empMobile", getEmpMobile())
            .append("createTime", getCreateTime())
            .toString();
    }

    public Long[] getDeptIds() {
        return deptIds;
    }

    public void setDeptIds(Long[] deptIds) {
        this.deptIds = deptIds;
    }
}
